package com.itheima.advantagesup.service;

import com.itheima.advantagesup.vo.ArticleVO;
import com.itheima.advantagesup.vo.YddArticlePageBeanVO;
import org.apache.ibatis.annotations.Param;

public interface YddArticleService {
    /**
     * 分页查询
     * @return {@link YddArticlePageBeanVO}
     */
    YddArticlePageBeanVO list(Long start_time,Long end_time, String title,Integer cateid,Integer page, Integer limit);

    /**
     * 通过id查找文章
     * @param id
     * @return {@link ArticleVO}
     */
    ArticleVO getArticleById(String id);

    /**
     * 根据id删除用户
     * @param id
     */
    void delete(String id);
}
